package com.learn.xueer.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.learn.xueer.R
import com.learn.xueer.app.util.User

class AccountAdapter(data: MutableList<User>) :
    BaseQuickAdapter<User, BaseViewHolder>(
        R.layout.item_account_list_dialog, data
    ) {
    override fun convert(holder: BaseViewHolder, item: User) {
        holder.setText(R.id.tv_account, item.account)

    }

    init {
        addChildClickViewIds(R.id.iv_delete)
    }
}